package com.eightbears.beboy.entity;

import com.eightbears.beboy.base.BaseDataEntity;
import com.eightbears.beboy.base.BaseEntity;

import java.io.Serializable;
import java.util.List;

/**
 * Created by Bao on 2017/9/13.
 */

public class ShopAccountEntity extends BaseEntity implements Serializable {

    private AccountData data;

    public AccountData getData() {
        return data;
    }

    public void setData(AccountData data) {
        this.data = data;
    }

    @Override
    public String toString() {
        return "ShopAccountEntity{" +
                "data=" + data +
                '}';
    }

    public static class AccountData extends BaseDataEntity implements Serializable{

        private String total_income;
        private List<AccountBalance> list;
        private List<InCome> income;


        public String getTotal_income() {
            return total_income;
        }

        public void setTotal_income(String total_income) {
            this.total_income = total_income;
        }

        public List<InCome> getIncome() {
            return income;
        }

        public void setIncome(List<InCome> income) {
            this.income = income;
        }

        public List<AccountBalance> getList() {
            return list;
        }

        public void setList(List<AccountBalance> list) {
            this.list = list;
        }

        @Override
        public String toString() {
            return "AccountData{" +
                    "total_income='" + total_income + '\'' +
                    ", list=" + list +
                    ", income=" + income +
                    '}';
        }
    }

    public static class Outlay implements Serializable {

        private String date;
        private String balance;

        public String getDate() {
            return date;
        }

        public void setDate(String date) {
            this.date = date;
        }

        public String getBalance() {
            return balance;
        }

        public void setBalance(String balance) {
            this.balance = balance;
        }

        @Override
        public String toString() {
            return "InCome{" +
                    "date='" + date + '\'' +
                    ", balance='" + balance + '\'' +
                    '}';
        }
    }

    public static class InCome implements Serializable {

        private String date;
        private String balance;

        public String getDate() {
            return date;
        }

        public void setDate(String date) {
            this.date = date;
        }

        public String getBalance() {
            return balance;
        }

        public void setBalance(String balance) {
            this.balance = balance;
        }

        @Override
        public String toString() {
            return "InCome{" +
                    "date='" + date + '\'' +
                    ", balance='" + balance + '\'' +
                    '}';
        }
    }

    public static class AccountBalance implements Serializable{

        private String title;
        private String logo;
        private String balance;
        private String created_at;
        private String totalBalance;

        public String getTotalBalance() {
            return totalBalance;
        }

        public void setTotalBalance(String totalBalance) {
            this.totalBalance = totalBalance;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getLogo() {
            return logo;
        }

        public void setLogo(String logo) {
            this.logo = logo;
        }

        public String getBalance() {
            return balance;
        }

        public void setBalance(String balance) {
            this.balance = balance;
        }

        public String getCreated_at() {
            return created_at;
        }

        public void setCreated_at(String created_at) {
            this.created_at = created_at;
        }

        @Override
        public String toString() {
            return "AccountBalance{" +
                    "title='" + title + '\'' +
                    ", logo='" + logo + '\'' +
                    ", balance='" + balance + '\'' +
                    ", created_at='" + created_at + '\'' +
                    ", totalBalance='" + totalBalance + '\'' +
                    '}';
        }
    }
}
